﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMS.Entity;
using WMS.IDAL;

namespace WMS.BLL
{
    public class GoodsLog
    {
        public static readonly IGoodsLog dal = WMS.DAL.Factory.DataAccess.CreateGoodsLogObject();

        public void Add(GoodsLogEntity entity)
        {
            dal.Add(entity);
        }

        public IList<GoodsLogEntity> GetGoodsLogRecords(int goodsID)
        {
            return dal.GetGoodsRecords(goodsID);
        }
    }
}
